package com.lvmama.service.rhino.topic;

import com.github.pagehelper.PageInfo;
import com.lvmama.pojo.entity.rhino.topic.PitPV;
import com.lvmama.pojo.entity.rhino.topic.PositionAnalysis;
import com.lvmama.pojo.entity.rhino.topic.SpecialTopicFunnelData;
import com.lvmama.pojo.entity.rhino.topic.TopicFunnelDataQuery;

import java.util.List;

public interface PositionAnalysisService {

    /**
     * 专题接口
     */
    PageInfo<PositionAnalysis> getTopicList(PositionAnalysis sc);


    /**
     * 坑位接口
     */
    PageInfo<PositionAnalysis> getPitList(PositionAnalysis positionVO);
    List<PositionAnalysis> getPitListByCategory(PositionAnalysis positionVO);
    List<PositionAnalysis> getPitBarByCategory(PositionAnalysis positionVO);
    List<PositionAnalysis> getPitListByDate(PositionAnalysis positionVO);
    PageInfo<PitPV> getTopicPVByCode(PositionAnalysis positionVO);
    List<PitPV> getPitPVByCategory(PositionAnalysis positionVO);
    List<PitPV> getAllPitPV(PositionAnalysis positionVO);
    PositionAnalysis getPageNumByCategory(PositionAnalysis positionVO);

    /**
     * 查询专题漏斗
     * @param query 查询条件
     * @return 结果集
     */
    List<SpecialTopicFunnelData> getTopicFunnel(TopicFunnelDataQuery query);
    List<PositionAnalysis> queryDetailByCode(PositionAnalysis positionVO);
}
